package com.atguigu.gmall.payment.service;

import com.atguigu.gmall.model.enums.PaymentType;
import com.atguigu.gmall.model.payment.PaymentInfo;

import java.util.Map;

/**
 * @author 李旭
 * @date 2021/10/29 10:09
 * @Description:
 */
public interface PaymentService {
    PaymentInfo insert(Long orderId, PaymentType paymentType);

    PaymentInfo selectPayment(String outTradeNo);

    void updatePaymentInfo(Map<String, String> paramsMap);
}
